package com.mall.web.util;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Log4jUtil {

	private static final Logger log = LoggerFactory.getLogger(Log4jUtil.class);

	public static void printLog(String errorType,String phone) {
		log.error(errorType+"["+ phone + "] server is error");

	}

	public static void main(String[] args) {
		String phone = "15658022368";
		try {
			printLog("卖店请求错误：",phone);
		} catch (Exception e) {
			log.error("测试一下");
		}
	}

}
